Copyright: © 2000-2003 by H+H Software GmbH
Citation: © 2000-2003 by H+H Software GmbH


Overview
 – Overview

The Script Generator creates a Visual Basic script that makes it possible to insert any number of virtual CDs in multiple virtual drives at one time. To do this, either add the desired virtual CD(s) to the Main window of the Script Generator program, or select them in the CD view of the CD Management program and use the corresponding menu command to start the Script Generator. The latter method is by far the easiest, since the virtual CDs are loaded in the Script Generator program automatically.

The scripts generated are stored in the folder specified for this purpose on the Folders page of the Settings program. In CD Management, select Scripts to view the scripts; double-click on a script to run it.

	The Script Generator is designed to let you make the API interface in Virtual CD available to users who are not familiar with the programming involved. If you already have experience in working with scripts, you can write scripts of your own that let you take full advantage of the API interface. For more details, please refer to the documentation on the API (opened from the Start menu).


Script Generator
 – Script Generator

The Script Generator shows a list of all the virtual CDs that will be inserted simultaneously. The buttons on the right let you modify the list:

Add	Opens a dialog for adding a virtual CD to the list.
Edit	Opens a dialog for selecting the virtual CD drive in which you want to insert the selected virtual CD.
Delete	Removes the selected virtual CD from the list.

Once you have entered all of the desired virtual CDs in the list, you need to enter a name for the script. The default name is Unknown. Replace this with a name that indicates which virtual CDs the script inserts.

Then click on Generate to have the script generated.

	If the Autorun feature is active for a given virtual CD, the application on that CD starts automatically when the CD is inserted. The Autorun feature can be deactivated for each virtual CD on its "Properties" page, opened in the CD Management program.


Selecting a Virtual CD Drive
 – Selecting a Virtual CD Drive

In the Selecting a Virtual CD Drive window, you define whether a given virtual CD is inserted in its own default drive or in the drive you specify here.

•	Having the virtual CD inserted in its own default drive: To do this, select Default drive here.

	This method can be more convenient to use than the method described below, because you can change the default drive for a given virtual CD at any time by editing the "Properties" of that CD. It is not necessary to modify the script in order to change the virtual drives used.
•	Having the virtual CD inserted in the drive you specify here:

	When you explicitly specify the virtual drive for a given virtual CD, this ensures that the virtual CD in question is always inserted in that drive by the script you are configuring. This means that you have to generate a new script any time you want to have the virtual CD inserted in a different drive.